package com.homework.service.impl;

import com.homework.entity.Appreciate;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.homework.dao.AppreciateMapper;
import com.homework.service.AppreciateService;

import java.util.List;

@Service
public class AppreciateServiceImpl implements AppreciateService{

    @Resource
    private AppreciateMapper appreciateMapper;

    @Override
    public List<Appreciate> findAll() {
        return appreciateMapper.selectAll();
    }
}
